package com.boot.project.core.model.system.vo;

import com.boot.project.core.model.system.entity.User;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.BeanUtils;

@Data
@NoArgsConstructor
public class UserVo extends User {
    private String roleName;
    public UserVo(User user) {
        BeanUtils.copyProperties(user, this);
    }
}
